<?php
$this->breadcrumbs=array(
	'成绩列表'
);


Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$.fn.yiiGridView.update('score-grid', {
		data: $(this).serialize()
	});
	return false;
});
");
?>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'score-grid',
	'dataProvider'=>$model->search(),
	'columns'=>array(
		array('name'=>'exams.exams_name','header'=>'考试名称'),
		array('name'=>'exams.exams_times','header'=>'时长（分）'),
		array('name'=>'exams.exams_memo','header'=>'考试说明'),
		'checks_score',
		'checks_rank',
		/*
		'exams_id',
		'exams_creater_id',
		'exams_create_time',
		'exams_edit_tims',
		*/
	),
)); ?>
